<?php

/* ========================================================================= */
/* This file is part of the HypnoPHP Framework                               */
/* Copyright (c) 2009-2010, Radu Buzea                                       */
/* ========================================================================= */

/*
 @author Radu Buzea
 @copyright Copyright (c) 2009-2010, Radu Buzea (www.hypnosis.ro)
 @license GNU Lesser General Public License (www.gnu.org/copyleft/lesser.html)
*/

HRouter::set(array(

	array(
		'rule'             => '/',                  // string - Regular Expression or URI
		'controller'       => 'Controller_Welcome', // string - the Controller name
		'action'           => 'index',              // string - the Action name
		'regexp'           => false,                // bool   - the rule is a Regular Expression
		'case-insensitive' => false,                // bool   - the rule is URI and is case insensitive
		'content-type'     => 'text/html',          // string - the output content type
		'params'           => null,                 // array  - associates values to keys parameters
	),

	array(
		'rule'             => '/amf_gateway',
		'controller'       => 'Module_AMF_Service',
		'action'           => 'service',
		'regexp'           => false,
		'case-insensitive' => false,
		'content-type'     => 'text/html',
		'params'           => null,
	),

));